package bb.lanxing.network;

import java.io.IOException;
import java.util.Map;

import okhttp3.Response;

public interface HttpProxy {
    public static final String MEDIA_TYPE_GZIP = "application/x-gzip";

    Response get(String str) throws IOException;

    Response get(String str, Map<String, String> map) throws IOException;

    Response post(String str, String str2) throws IOException;

    Response post(String str, String str2, Map<String, String> map) throws IOException;

    Response upload(String str, String str2, Map<String, Object> map) throws IOException;

    Response upload(String str, String str2, Map<String, Object> map, Map<String, String> map2) throws IOException;
}